package com.kkb.retailer.center.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Table;
import java.util.List;


@Data // getter、setter
@AllArgsConstructor // 全参构造方法
@NoArgsConstructor // 无参构造方法
@Accessors(chain = true) // 链式编程写法
@Table(name="menu_info")
public class MenuInfo extends BaseEntity{


    private Boolean iFrame;

    private String name;

    private Integer level;

    private String component;

    private Long pid;

    private Integer sort;

    private String icon;

    private String path;

    private Boolean cache;

    private Boolean hidden;

    private String componentName;

    private String permission;

    private List<MenuInfo> children;
}
